import { BaseApi } from '/@/api-services/apis/baseApi';
import { SysDictType, DictTypeUpdateInput, DictTypeAddInput } from '../../models/system'

/**
 * 字典类型Api
 */
class SysDictTypeApi extends BaseApi<SysDictType, DictTypeAddInput, DictTypeUpdateInput> {

   getDictTypeTree=async()=>{
      return this.normalGet<Array<SysDictType>>(`/tree`,null)
   }
}

export default new SysDictTypeApi('/system/dictType');